/*
 * @Date: 2020-11-27 20:40:43
 * @LastEditors: 小枫
 * @description: description
 * @LastEditTime: 2020-11-27 20:43:50
 * @FilePath: \stu-nest\src\classes\user.dto.ts
 */
import { ApiProperty } from '@nestjs/swagger';

export class User {
  @ApiProperty({
    description: '用户名',
  })
  username: string;

  @ApiProperty({
    description: '密码',
  })
  password: string;
}
